Help with richText of object Heading value in an attribute

I am trying to take an object heading and put the value into an attribute. I want to keep the bold of the heading, but have not been successful. When I print richTextWithOle(o."Object Heading") in the editor, a \b does not appear as I would expect. I have worked with DXL a little, but have not used the richText feature before. How can I take the value of the Object Heading and then make it bold in the attribute?
SystemAdmin - Wed Apr 14 06:58:03 EDT 2010

Re: Help with richText of object Heading value in an attribute
SystemAdmin - Wed Apr 14 07:29:46 EDT 2010

Object Heading as a String type attribute is not shown bolded by any RTF command, it is bold by being Object Heading and being displayed in DOORS main column.

So if you want to copy the Object Heading to some other attribute use:

{code}
Object o = current
o."Object Short Text" = richText "{ \\b" o."Object Heading" "}"
[code}

ie put RTF command for bold "{ \\b" before the value, end the RTF with "}" and copy that as rich text by using the richText function.

There are some examples of rich text processing in DOORS DXL in the DEL Help section "Rich text strings".

Re: Help with richText of object Heading value in an attribute
SystemAdmin - Wed Apr 14 10:01:17 EDT 2010

Got it to work. Thank you. I had the brackets and quotes wrong.